package com.jye.rseven.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Activities implements Serializable {
    private int id;
    private String title;
    private String desc;
    private String rules = "暂无规则说明";//规则说明
    private String imgUrl;
    private String type;
    private String status;
    private Date createTime;
    private int uId;
    @Transient
    private User user;
    @Transient
    private int like; //点赞数量
    @Transient
    private boolean islike;//是否点赞
    @Transient
    private boolean isfollow;//是否关注
    @Transient
    private boolean isvote;//是否投票
    @Transient
    private boolean isInActivities;//是否投票

}
